package com.zyk.scaffold.oauth.controller.captcha;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("校验验证码请求")
public class ValidatedGraphRequest {
    @ApiModelProperty(value = "验证码Md5值", required = true)
    @NotBlank(message = "验证码Md5值不能为空")
    private String graphMd5;
    @ApiModelProperty(value = "验证码图形ID", required = true)
    @NotBlank(message = "验证码图形ID不能为空")
    private String graphId;
}
